package FlexTrade;

import java.io.Serializable;
import java.rmi.Remote;

import net.jini.core.transaction.server.TransactionManager;
import net.jini.core.transaction.server.TransactionParticipant;

//interface for remote bank service
public interface IRemoteAccounts extends Remote, Serializable {
	//transfer payment from customer bank account to provider bank account
	public void creditDebit(float amount, String creditorID, String debitorID,
				long transactionID, TransactionManager tm) throws java.rmi.RemoteException;
}
